﻿using Microsoft.EntityFrameworkCore;
using Volo.Abp.EntityFrameworkCore;

namespace DDDDemoABP1.EntityFrameworkCore;

public class DDDDemoABP1HttpApiHostMigrationsDbContext : AbpDbContext<DDDDemoABP1HttpApiHostMigrationsDbContext>
{
    public DDDDemoABP1HttpApiHostMigrationsDbContext(DbContextOptions<DDDDemoABP1HttpApiHostMigrationsDbContext> options)
        : base(options)
    {

    }

    protected override void OnModelCreating(ModelBuilder modelBuilder)
    {
        base.OnModelCreating(modelBuilder);

        modelBuilder.ConfigureDDDDemoABP1();
    }
}
